import { List } from 'antd-mobile';
import { createForm } from 'rc-form';

const Item = List.Item;
const Brief = Item.Brief;

class Report extends React.Component{
	state = {
		studyType  : [ '', '全日制', '非全日制'],
    examType : [ '', '夏令营考核', '常规考核' ],
    planType : [ '无专项计划', '', '', '', '少数民族骨干计划', '', '', '退役大学生计划' ]
	}
	render() {
		return(
			<div className={this.props.className}>
		    <List className="my-list">
		      <Item extra={ this.props.data.bkyxsmc}>报考所属学院</Item>
		    </List>

		    <List className="my-list">
		      <Item extra={ this.props.data.bkzymc }>报考专业名称</Item>
		    </List>

		    <List className="my-list">
		      <Item extra={ this.state.studyType[this.props.data.bkxxfsm] }>学习方式</Item>
		    </List>

		    <List className="my-list">
		      <Item extra={ this.state.examType[this.props.data.ksfsm] }>考试方式</Item>
		    </List>

		    <List className="my-list">
		      <Item extra={ this.state.planType[this.props.data.zxjh] }>专项计划</Item>
		    </List>
	    </div>
		)
	}
}

export default Report